import mxgraph from "src/pages/mxgraph/graph/index";
import graphUtil from "pages/mxgraph/graphUtil";
//// import { behaviors } from "src/pages/mxgraph/behaviors";

const {

  mxGraphModel

} = mxgraph;
const updateEdgeParent = mxGraphModel.prototype.updateEdgeParent;
mxGraphModel.prototype.updateEdgeParent = function(edge, root){
  updateEdgeParent.apply(this, arguments);
  graphUtil.updateEdgeOwner(edge.umlShape, edge.parent.umlShape);

};